package com.gw.booking.dto.backend;

import io.swagger.annotations.ApiModelProperty;

public class LoginDtoOut {

	@ApiModelProperty(value="用户id", required = true)
	private int userId;
	@ApiModelProperty(value="token", required = true)
	private String token;
	@ApiModelProperty(value="权限列表", required = true)
	private String privileges;
	@ApiModelProperty(value = "用户名称")
	private String name;
	@ApiModelProperty(value = "城市id")
	private Integer cityId;
	@ApiModelProperty(value = "城市名称（日）")
	private String cityName;
	@ApiModelProperty(value = "城市名称（中）")
	private String cityNameC;

	public LoginDtoOut(int userId, String token, String privileges, String name, Integer cityId, String cityName, String cityNameC) {
		this.userId = userId;
		this.token = token;
		this.privileges = privileges;
		this.name = name;
		this.cityId = cityId;
		this.cityName = cityName;
		this.cityNameC = cityNameC;
	}

	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public String getPrivileges() {
		return privileges;
	}
	public void setPrivileges(String privileges) {
		this.privileges = privileges;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getCityId() {
		return cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getCityNameC() {
		return cityNameC;
	}

	public void setCityNameC(String cityNameC) {
		this.cityNameC = cityNameC;
	}
}
